package cn.wolfcode.exception;

/**
 * @author 杨兴健
 * @Date 2020/7/16 9:57
 */
public class LogicException extends RuntimeException {
    private String msg;
    private Integer status;

    public LogicException(String message) {
        super(message);
        this.msg = message;
        this.status = 200;
    }

    public LogicException(String msg, Integer status) {
        super(msg);
        this.msg = msg;
        this.status = status;
    }
}
